package question3;


public class Multiplication extends Binaire{

	public Multiplication(Expression expression1, Expression expression2){
		super(expression1, expression2);
	}

	public String toString(){
		return "(" + getExpression1().toString() + " * " + getExpression2().toString() + ")";
	}

	public int interprete(Contexte c){
		return getExpression1().interprete(c) * getExpression2().interprete(c);
	}

}